clear
clc
NN = 10;
for ii = 1:NN
    tmps1 = (randperm(3)-2);
    data1(ii) = tmps1(1);     
end
A       =[30*rand(1,10);30*rand(1,10);data1+30*rand(1,10);20*rand(1,10)];
B       =[data1]';
pstudy  = A';
ptest   = B/100;